home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-02-25 | 936 b | 30 lines | [TEXT/KAHL] |
- //--------------------------------------------------------------------------
- //
- // QDrawHandler.h
- // by John Wang
- //
- // Version: 1.0 02/25/93 For creating qdraw media type.
- //
- //--------------------------------------------------------------------------
-
- // Selector definitions for MyComponent calls.
-
- #define QDrawMediaType 'Qdrw'
- #define QDMediaVersion 0x100
-
- typedef struct GraphicsDescription {
- long size; // Total size of GraphicsDescription
- long type; // 'qdrw'
- long resvd1;
- short resvd2;
- short dataRefIndex;
- short version; // What version is this data
- } QDrawDescription, *QDrawDescriptionPtr, **QDrawDescriptionHandle;
-
- //------------------------------------------------------
- // Prototypes.
- //------------------------------------------------------
-
- pascal OSErr AddGraphics(Media graphicsMedia, PicHandle myPic,
- QDrawDescriptionHandle QDDesc, TimeValue duration, short mySync, TimeValue *sampleTime);
-